#pragma onceCSipSubscribeSelector(CSipGDService& srv);
#include "SipSubscribeSelector.hpp"

class CSubscribeManager :public CSipSubscribeSelector
{
public:

	CSubscribeManager(CSipGDService& srv);

	virtual ~CSubscribeManager(void);

	virtual bool onSubscribe(SipMessage& msg, CSipSubscribeSession& subs);

	virtual bool onNotify(SipMessage& msg, CSipSubscribeSession& subs);

	virtual bool onSuccess(SipMessage& msg, CSipSessionBase& sb);

	virtual bool onFailed(SipMessage& msg, CSipSessionBase& sb);

	virtual bool onTrying(SipMessage& msg, CSipSessionBase& sb);

	virtual bool onDestroy(CSipSessionBase& sb);
};

